package game.items;

import edu.monash.fit2099.engine.actors.Actor;
import edu.monash.fit2099.engine.positions.GameMap;

/** Yew Berry（x）：有毒，食用立刻死亡并结束游戏。 */
public class YewBerry extends Food {

    public YewBerry() {
        super("Yew Berry", 'x');
    }

    @Override
    public String consumeEffect(Actor actor, GameMap map) {
        return actor + " consumes a yew berry and collapses. " + actor.unconscious(map);
    }
}
